package com.zhuzhe.blog.article.requestDto;

import com.zhuzhe.blog.article.entity.Article;
import com.zhuzhe.blog.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @description
 * @author: u53
 * @create: 2020-10-05 01:20
 **/

/**
 * 文章请求类，封装查询条件
 */
@ApiModel(value = "ArticleSerachDto条件对象", description = "文章查询条件")
@Data
@Accessors(chain = true)
public class ArticleSerachDto extends BaseRequest<Article> {

    /**
     * 分类名称
     */
    @ApiModelProperty(value = "文章标题")
    private String title;

    /**
     * 状态：(1: 正常，0：禁用)
     */
    @ApiModelProperty(value = "状态：(0: 已删除, 1:未审核，2:审核通过，3：审核未通过)")
    private Integer status;
}
